package com.ruoyi.mes.domain;

import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.util.List;

/**
 * @author：coderChen date：2024/5/30 8:58
 * description：
 */
public class SellOrderProductVo extends BaseEntity{
        private static final long serialVersionUID = 1L;

        /** 订单id */
        private Long id;


        /** 产品id */
        private Long proId;

        /** 订单编号 */
        @Excel(name = "订单编号")
        private String orderSn;

        /** 订单名称 */
        @Excel(name = "订单名称")
        private String orderName;


        /** 产品名称 */
        @Excel(name = "产品名称")
        private String proName;


        /** 产品编码 */
        @Excel(name = "产品编码")
        private String proSn;



        /** 需求数量 */
        private Long deviNum;


        /** 单位名称 */
        @Excel(name = "单位名称")
        private String unitName;


    /** 产品信息 */
        private List<ProDesign> proInfoList;


        public void setId(Long id)
        {
            this.id = id;
        }

        public Long getId()
        {
            return id;
        }

        public void setProId(Long proId)
        {
            this.proId = proId;
        }

        public Long getProId()
        {
            return proId;
        }
        public String getProName() {
            return proName;
        }

        public void setProName(String proName) {
            this.proName = proName;
        }
        public void setOrderSn(String orderSn)
        {
            this.orderSn = orderSn;
        }

        public String getOrderSn()
        {
            return orderSn;
        }
        public void setOrderName(String orderName)
        {
            this.orderName = orderName;
        }

        public String getOrderName()
        {
            return orderName;
        }

        public String getProSn() {
            return proSn;
        }

        public void setProSn(String proSn) {
            this.proSn = proSn;
        }

        public String getUnitName() {
            return unitName;
        }

        public void setUnitName(String unitName) {
            this.unitName = unitName;
        }
        public Long getDeviNum() {
            return deviNum;
        }

        public void setDeviNum(Long deviNum) {
            this.deviNum = deviNum;
        }
         public List<ProDesign> getProInfoList() {
        return proInfoList;
        }

        public void setProInfoList(List<ProDesign> proInfoList) {
        this.proInfoList = proInfoList;
        }

        @Override
        public String toString() {
            return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                    .append("id", getId())
                    .append("proId", getProId())
                    .append("orderSn", getOrderSn())
                    .append("orderName", getOrderName())
                    .append("deviNum",getDeviNum())
                    .append("proName",getProName())
                    .append("unitName",getUnitName())
                    .append("remark", getRemark())
                    .append("proSn",getProSn())
                    .toString();
        }

}
